orders=$1

echo "order="$orders

result=result.fom
cat /dev/null > $result
for order in $orders
do
    suffix=$order
    ../cds --accuracy --negneg=negneg.1 --posneg=posneg.1 \
	--negpos=negpos.$suffix --pospos=pospos.$suffix --output=acc.$suffix
    echo $order    `tail -n 1 acc.$suffix`      `tail -n 1 stats.$suffix` >> $result
done

